package cc.kzc.adminauth.ds1.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.Comment;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import lombok.Data;

@Entity
@Table(name = "t_account")
@DynamicUpdate(true)
@DynamicInsert(true)
@Data
public class AccountEO implements Serializable {
	private static final long serialVersionUID = 5861252762392932224L;

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "f_id")
	@Comment("账号id")
	private Long id;

	@Column(name = "f_uid")
	@Comment("账号唯一id")
	private String uid;

	@Column(name = "f_account")
	@Comment("账号名称")
	private String account;

	@Column(name = "f_password")
	@Comment("密码")
	private String password;

	@Column(name = "f_nick_name")
	@Comment("昵称")
	private String nickName;

	@Column(name = "f_phone")
	@Comment("电话号码")
	private String phone;

	@Column(name = "f_ctime")
	@Comment("创建时间")
	private String ctime;

	@Column(name = "f_mtime")
	@Comment("修改时间")
	private String mtime;
}
